Smallest k point enclosing rectangle of arbitrary orientation
نویسندگان
چکیده
Given a set of points in 2D, the problem of identifying the smallest rectangle of arbitrary orientation, and containing exactly points is studied in this paper. The worst case time and space complexities of the proposed algorithm are ! " # $ % and & respectively. The algorithm is then used to identify the smallest square of arbitrary orientation containing points in # ' ( ) * + ' time. , .0/21%354&6 7'/2893 . Given a set : of ; points in 2D, and an integer <>=@?A;CB , we consider the problem of identifying the smallest rectangle on the plane which encloses exactly < points of : . A restricted variation of this problem has already been investigated, where the desired rectangle is axis-parallel. The first result on this problem appeared in [1] with time and space complexities D(=E< F#;!GIH JK;CB and D(=L<0;CB respectively. Both time and space complexity results are finally improved to =L< F2;NMO;!GPHKJ ;CB and D(=Q;CB respectively in [2]. In [6], it is mentioned that all the aforesaid algorithms are efficient when < is small. It also proposes an efficient algorithm when < is large (very close to ; ). The time and space complexities of this algorithm are D(=Q;)MOST< BUFVB and D(=Q;CB respectively. In W ( XZY B dimensions, the algorithm proposed in [6] runs in D(=QW ;[MTW0<!=R;)S\< BUF^]P_#`!a@bcB time using D(=QW ;CB space. In all these variations, the points are assumed to be in general position, i.e., no two points lie on the same horizontal or vertical line, and the desired rectangle is isothetic and closed (i.e., enclosed points may lie on the boundary of the rectangle). A similar problem is studied in [5], where ; points are distributed on the plane, and the proposed algorithm identifies the smallest circle containing exactly < points in D(=Q;!GIH J ;dMe=Q;fSg< Bih^;Cj@B time for some klXnm . The motivation of studying all these problems come from pattern recognition and facility location, where essential features are represented as a point set, and the objective is to identify a precise cluster (region) containing desired number of features. We consider the generalized version of this problem, where the desired rectangle may be of arbitrary orientation. We assume that the lines joining pairs of points have distinct slopes. Our proposed algorithm runs in D(=Q;oF#GIH J ;pM+<q;r=R;sS < B^=R;sSt<uM[GIH J$< BiB time and D(=R;CB space. The proposed technique can also identify the smallest < -enclosing square of arbitrary orientation in D(=Q;rF^GPHKJ ;tMl<q;r=R;[Sv< BcF^GIH JK;CB time w Indian Statistical Institute, Kolkata 700 108, India x Calcutta University, Kolkata 700 029, India y Indian Statistical Institute, Kolkata 700 108, India and D(=R;CFVB space. The time complexity result of identifying smallest < -enclosing square is comparable with that of identifying smallest < -enclosing circle proposed in [5]. z {0301@|}6 ~9$/2893 .
منابع مشابه
Smallest axis-parallel rectangle enclosing at least k points
Let P be a set of n points on a two-dimensional plane. In this work, we present an algorithm that identifies a smallest area axis-parallel rectangle enclosing at least k points of P (1 < k ≤ n). The worst case time and space complexities of the algorithm are O(n) and O(n) respectively.
متن کاملEfficient BSR-Based Parallel Algorithms for Geometrical Problems
This paper presents BSR-parallel algorithms for three geometrical problems : point location, convex hull and smallest enclosing rectangle. These problems are solved in constant time using the BSR model introduced by S. Akl in (21. The first algorithm uses O ( N ) processors ( N is the number of edges of the polygon R). The second uses O ( N " ) processors (N ' is the nuniber of points) and the ...
متن کاملTracking an Extended Object Modeled as an Axis-Aligned Rectangle
In many tracking applications, the extent of the target object is neglected and it is assumed that the received measurements stem from a point source. However, modern sensors are able to supply several measurements from different scattering centers on the target object due to their high-resolution capability. As a consequence, it becomes necessary to incorporate the target extent into the estim...
متن کاملSmallest Color-Spanning Objects
Motivated by questions in location planning, we show for a set of colored point sites in the plane how to compute the smallest (by perimeter or area) axis-parallel rectangle, the narrowest strip, and other smallest objects enclosing at least one site of each color.
متن کاملImproved Bounds for Smallest Enclosing Disk Range Queries
Let S be a set of n points in the plane. We present a method where, using O(n log n) time and space, S can be pre-processed into a data structure such that given an axis-parallel query rectangle q, we can report the radius of the smallest enclosing disk of the points lying in S ∩ q in O(log n) time per query.
متن کامل